#include"Rectangle.h"
#include"Square.h"
int main()
{
	Rectangle rect;
	Square sqrt(4);
	rect.convert(sqrt);
	cout << rect.area();
	_getch();
	return 0;
}